import asyncio

from pddnsc.base import BaseOutputProvider


class JustPrint(BaseOutputProvider):
    """Вывод IP адресов в консоль"""

    async def set_addrs_imp(self, source_provider: str, addr_v4: str, addr_v6: str):
        print(f">> {self.name}")
        print(f"addresses from: {source_provider}")
        print(f"IPv4: {addr_v4}")
        print(f"IPv6: {addr_v6}")
        await asyncio.sleep(2.2, result=None)
